package com.xirui.mapper;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.xirui.bean.Dormitory;
import com.xirui.bean.Floor;
import com.xirui.bean.Record;
import com.xirui.bean.User;

public interface DorMapper {

	User login(User user);

	List<Record> YHlinked(Integer uid);

	Record selectR(Integer uid);

	List<Dormitory> GLlinked(Dormitory dor);

	List<Floor> selectF();

	Record selectR2(Integer did);

	List<Floor> liandongF();

	List<Dormitory> liandongD(Integer fid);

	List<User> selectU();

	void updateOutTime(@Param("uid")Integer uid,@Param("date") Date date);

	void addR(@Param("uid")Integer uid, @Param("did")Integer did);
}
